<me:UIYP x:Class="WPFExcelReport.KWTCB"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                     xmlns:me="clr-namespace:WPFExcelReport"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                      xmlns:WF="clr-namespace:WPFExcelReport;assembly=TICC_WFEVENTS"  
                      xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"  
                     FontSize="18"
                     x:Name="TV"
                    Loaded="Window_Loaded">
    <me:UIYP.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter x:Key="nbv"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:TextTrimmingConverter x:Key="trim"/>
    </me:UIYP.Resources>
    <Grid Visibility="{Binding IsKWT,ElementName=TV,Converter={StaticResource bv}}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*"></RowDefinition>
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal" >
            <me:CB9314 LMS="11" YPINFO="{Binding YPINFO,ElementName=TV}"
                          IsV1="{Binding IsV1,ElementName=TV}"
                        Margin="5,0,0,0"     />
            <me:CB9314 LMS="12" YPINFO="{Binding YPINFO,ElementName=TV}"
                        IsV1="{Binding IsV1,ElementName=TV}"
                           Margin="5,0,0,0" />
            <me:CB9314 LMS="13" YPINFO="{Binding YPINFO,ElementName=TV}"
                        IsV1="{Binding IsV1,ElementName=TV}"
                           Margin="5,0,0,0" />
        </StackPanel>
    </Grid>
</me:UIYP>
